
//***********************************************
//
//      Filename: xian.java
//
//        Author: wwb
//        Mails: 1274860621@qq.com
//        Create: 2018-03-21 17:03:59
// Last Modified: 2018-03-21 17:03:59
//***********************************************
public class xian
{
public static void main(String[] args)
 {
  String str = "";
  for(int i = 1;i < 10000;i++)
  
     str = String.format("%04d", i);
     System.out.println(str);
  }
 }
